<%@ include file="header.jsp" %>
	<% if(session.getAttribute("loggedIn") == Boolean.TRUE) { %>
	<% String chatName="";
		if(inp != null){
			chatName = "&nick="+name.replaceAll(" ","")+userID;
		}
		String chatUrl = "http://widget.mibbit.com/?settings=e76d4af8237c72fd3c7ed604ac9392a3&"+
				"server=irc.Mibbit.Net&channel=%23ubcdating_van"+chatName+"&autoConnect=true";
	%>
	
	<hr class="noscreen" />
    <div class="content box">
    
        <div class="content-in box">
	<div>
	<iframe width="550" height="350"
		src=<%=chatUrl %>>
	</iframe>
	</div>
	<%} else {%>
	<meta HTTP-EQUIV="REFRESH" content="0; url=login.jsp">
	<%} %>
	</div>
	</div>
<%@ include file="footer.jsp" %>